package cn.hengzhu.main_manager.repository.domain;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class PayOrder implements Serializable {
    /**
     * 订单ID
     *
     * @mbg.generated
     */
    private Integer orderId;

    /**
     * 用户Id
     *
     * @mbg.generated
     */
    private String openId;

    /**
     * 金额(单位分)
     *
     * @mbg.generated
     */
    private Integer totalFee;

    /**
     * 支付方式
     *
     * @mbg.generated
     */
    private String bankType;

    /**
     * 微信支付订单号（支付宝订单号）
     *
     * @mbg.generated
     */
    private String transactionId;

    /**
     * 商户订单号
     *
     * @mbg.generated
     */
    private String outTradeNo;

    private Date creartTime;

    /**
     * 是否完成支付（1.是   0.否）
     *
     * @mbg.generated
     */
    private Byte isPay;

    private Integer boxId;

    private String prepayId;



    /**
     * 押金
     *
     * @mbg.generated
     */
    private BigDecimal payPledge;

    /**
     * 密码开门（支付成功把密码放入caseBox内）
     *
     * @mbg.generated
     */
    private String password;

    /**
     *
     * @mbg.generated
     */
    private static final long serialVersionUID = 1L;

    /**
     *
     * @mbg.generated
     */
    public Integer getOrderId() {
        return orderId;
    }

    /**
     *
     * @mbg.generated
     */
    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    /**
     *
     * @mbg.generated
     */
    public String getOpenId() {
        return openId;
    }

    /**
     *
     * @mbg.generated
     */
    public void setOpenId(String openId) {
        this.openId = openId;
    }



    /**
     *
     * @mbg.generated
     */
    public Integer getTotalFee() {
        return totalFee;
    }

    /**
     *
     * @mbg.generated
     */
    public void setTotalFee(Integer totalFee) {
        this.totalFee = totalFee;
    }

    /**
     *
     * @mbg.generated
     */
    public String getBankType() {
        return bankType;
    }

    /**
     *
     * @mbg.generated
     */
    public void setBankType(String bankType) {
        this.bankType = bankType;
    }

    /**
     *
     * @mbg.generated
     */
    public String getTransactionId() {
        return transactionId;
    }

    /**
     *
     * @mbg.generated
     */
    public void setTransactionId(String transactionId) {
        this.transactionId = transactionId;
    }

    /**
     *
     * @mbg.generated
     */
    public String getOutTradeNo() {
        return outTradeNo;
    }

    /**
     *
     * @mbg.generated
     */
    public void setOutTradeNo(String outTradeNo) {
        this.outTradeNo = outTradeNo;
    }

    /**
     *
     * @mbg.generated
     */
    public Date getCreartTime() {
        return creartTime;
    }

    /**
     *
     * @mbg.generated
     */
    public void setCreartTime(Date creartTime) {
        this.creartTime = creartTime;
    }

    /**
     *
     * @mbg.generated
     */
    public Byte getIsPay() {
        return isPay;
    }

    /**
     *
     * @mbg.generated
     */
    public void setIsPay(Byte isPay) {
        this.isPay = isPay;
    }

    /**
     *
     * @mbg.generated
     */
    public Integer getBoxId() {
        return boxId;
    }

    /**
     *
     * @mbg.generated
     */
    public void setBoxId(Integer boxId) {
        this.boxId = boxId;
    }

    /**
     *
     * @mbg.generated
     */
    public String getPrepayId() {
        return prepayId;
    }

    /**
     *
     * @mbg.generated
     */
    public void setPrepayId(String prepayId) {
        this.prepayId = prepayId;
    }

    /**
     *
     * @mbg.generated
     */
    public BigDecimal getPayPledge() {
        return payPledge;
    }

    /**
     *
     * @mbg.generated
     */
    public void setPayPledge(BigDecimal payPledge) {
        this.payPledge = payPledge;
    }

    /**
     *
     * @mbg.generated
     */
    public String getPassword() {
        return password;
    }

    /**
     *
     * @mbg.generated
     */
    public void setPassword(String password) {
        this.password = password;
    }

	@Override
	public String toString() {
		return "PayOrder [orderId=" + orderId + ", openId=" + openId + ", totalFee=" + totalFee + ", bankType="
				+ bankType + ", transactionId=" + transactionId + ", outTradeNo=" + outTradeNo + ", creartTime="
				+ creartTime + ", isPay=" + isPay + ", boxId=" + boxId + ", prepayId=" + prepayId + ", payPledge="
				+ payPledge + ", password=" + password + "]";
	}
    
    
}